/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mvc.dao;

import java.sql.SQLException;
import java.util.LinkedList;

/**
 *
 * @author pezcado
 */
public interface IDAO<T> {
    T consultar(int ide)throws SQLException;
    void insertar(T t)throws SQLException;
    void modificar(T t)throws SQLException;
    void eliminar(T t)throws SQLException;
    LinkedList<T> listar()throws SQLException;
    
}
